from Node import Package,Module


faces = Package(name = "VisualLook",
                elements = [Module(name = "fonts.el",
                                   description  = "configures fonts look"),
                            Module(name = "window.el",
                                   description = "emacs window look"),
                            ])

navigation = Package(name = "Navigation",
                     elements = [Module(name = "buffer-rotate.el",
                                        description = "provides rotation between buffers"),
                                 Module(name = "markers.el",
                                        description = "place markers inside barkers and jump between them"),
                                 Module(name = "speedbar.el",
                                        description = "configure emacs speedbar for quick navigation"),
                                 Module(name = "buffer-manipulate.el",
                                        description = "basic operation on buffers such as close/change positions etc ..."),
                                 Module(name = "source-browse.el",
                                        description = "provides source code browsing support"),
                                 ])

macros = Package(name = "Macros",elements =
                 [Module(name = "macros.el",
                         description = "basic macros operation record/replay etc ..."),
                  ])

shell = Package(name = "Shell",
                elements = [Module(name = "shell-buffer.el",
                                   description = "basic commands on shell buffer"),
                            ])

editing = Package(name = "Editing",
                  elements = [Module(name = "common-settings.el",
                                     description = "commong editing settings"),
                              Module(name = "dos2unix.el",
                                     description = "dos to unix and vice versa converions"),
                              ])
documentation = Package(name = "Documentation",
                        elements = [Module(name = "man-pages.el",
                                           description = "man pages shortcuts"),
                                    ])



languages = Package(name = "Languages",
                    elements = [Module(name = "comments.el",
                                       description = "provides comments shortcuts for all programming languages modes"),
                                Module(name = "compiler.el",
                                       description = "compiler definitions"),
                                Package(name = "Java",
                                        elements = [Module(name = "init.el",
                                                           description = "init java mode"),
                                                    ]),
                                Package(name = "Lisp",
                                        elements = [Module(name = "scratch-buffer.el",
                                                           description = "prepare the scratch buffer"),
                                                    Module(name = "init.el",
                                                           description = "init lisp mode")]),
                                Package(name = "Python",
                                        elements = [Module(name = "python-mode.el",
                                                           description = "python mode"),
                                                    Module(name = "pdb.el",
                                                           description = "use pdb for python debugging"),
                                                    Module(name = "init.el",
                                                           description = "init python mode"),
                                                    Package(name = "Pymacs",
                                                            elements = [Module(name = "init.el",
                                                                               description = "init pymacs mode"),
                                                                        ]),
                                                    ]),
                                Package(name = "Ruby",
                                        elements = [Module(name = "init.el",
                                                           description = "init ruby mode"),
                                                    ]),
                                ])

source_control = Package(name = "SourceControl",
                         elements = [Module(name = "git.el",
                                            description = "git support"),
                                     Module(name = "local.el",
                                            description = "local files diff"),
                                     Module(name = "svn.el",
                                            description = "svn initialization"),

                                     ])

GLOBAL_PACKAGE = Package(name = ".",
                         elements = [faces,
                                     editing,
                                     navigation,
                                     macros,
                                     shell,
                                     documentation,
                                     languages,
                                     source_control,
                                     ])

